<%--

<!--------------------------------------------------------------------------------------------------------------------------------
 - Copyright 2007 CORE Solutions Limited
 - All rights reserved.
 - PROPRIETARY AND CONFIDENTIAL INFORMATION.
 - Use is subject to license terms.
 -
 - FUNCTION ID      :   MASTER_DEPARTMENT
 - AUTHOR           :   Ray Guo 
 - DATE CREATE      :   2007/07/11
 - DESCRIPTION      :   a HEADER TAB JSP file for the function, MASTER_DEPARTMENT
 -                  :   
 -                  :   
 -                  :   
 -
 - MODIFICATION HISTORY:
 - DATE         AUTHOR          VERSION NO.         COMMENT
 - -----------  --------------  ------------------  -------------------
 - 2007/07/11   Ray Guo         1.0                 source is generated.
 -
 -
 -
--------------------------------------------------------------------------------------------------------------------------------->

--%>
<%@ include file="/jsp/com/erp/app/common/jsp/directives_include.jsp"%>

<%@ page import="com.erp.app.setup.dept.vo.DeptHdrVo"%>
<%@ page import="com.erp.app.setup.dept.web.DeptMaintenanceAction"%>
<%@ page import="com.erp.app.setup.dept.web.DeptMaintenanceForm"%>

<%@ include file="/jsp/com/erp/app/common/jsp/html_include.jsp"%>

<jsp:useBean id="deptMaintenanceForm" scope="session" type="com.erp.app.setup.dept.web.DeptMaintenanceForm" />

<%
formReadOnly = false;
TableSchema ts = deptMaintenanceForm.getTs();
%>

<table class="table_header">

	<tr>
		<td class="col_label">
			<html:text useExtensions="true" uiType="label" name="deptMaintenanceForm" property="deptCode"/>
		</td>
		<td class="col_value" nowrap>
			<logic:equal name="deptMaintenanceForm" property="pageMode" value="<%=deptMaintenanceForm.PAGE_MODE_CREATE%>">
				<html:text useExtensions="true" uiType="text" name="deptMaintenanceForm" property="deptCode" styleClass="textbox1" readonly="<%=formReadOnly%>"/>
			</logic:equal>
			<logic:notEqual name="deptMaintenanceForm" property="pageMode" value="<%=deptMaintenanceForm.PAGE_MODE_CREATE%>">
				<bean:write name="deptMaintenanceForm" property="deptCode" filter="true"/>
			</logic:notEqual>
		</td>
	<tr>
	</tr>
		<td class="col_label">
			<html:text useExtensions="true" uiType="label" name="deptMaintenanceForm" property="hdrDeptName"/>
		</td>
		<td class="col_value" nowrap>
			<html:text useExtensions="true" uiType="textarea" name="deptMaintenanceForm" property="hdrDeptName" readonly="<%=formReadOnly%>" />
		</td>
	</tr>
	<tr>
		<td class="col_label">
			<html:text useExtensions="true" uiType="label" name="deptMaintenanceForm" property="hdrStatus"/>
		</td>
		<td class="col_value" nowrap>
			<html:text useExtensions="true" uiType="combobox" name="deptMaintenanceForm" property="hdrStatus" readonly="<%=formReadOnly%>" showCode="false"/>
		</td>
	<tr>
	<%--
	</tr>
		<td class="col_label">
			<html:text useExtensions="true" uiType="label" name="deptMaintenanceForm" property="hdrGroupCode"/>
		</td>
		<td class="col_value" nowrap>
			<html:text useExtensions="true" uiType="text" name="deptMaintenanceForm" property="hdrGroupCode" styleClass="textbox1" readonly="<%=formReadOnly%>"/>
		</td>
	</tr>
	<tr>
		<td class="col_label">
			<html:text useExtensions="true" uiType="label" name="deptMaintenanceForm" property="hdrBrandCode"/>
		</td>
		<td class="col_value" nowrap>
			<html:text useExtensions="true" uiType="combobox" name="deptMaintenanceForm" property="hdrBrandCode" readonly="<%=formReadOnly%>" showCode="false"/>
		</td>
	</tr>
	<tr>
		<td class="col_label">
			<html:text useExtensions="true" uiType="label" name="deptMaintenanceForm" property="hdrCustCode"/>
		</td>
		<td class="col_value" nowrap>
			<html:text useExtensions="true" uiType="text" name="deptMaintenanceForm" property="hdrCustCode" styleClass="textbox1" readonly="<%=formReadOnly%>"/>
		</td>
	</tr>
	--%>
	<tr>
		<td class="col_label">
			<html:text useExtensions="true" uiType="label" name="deptMaintenanceForm" property="hdrDivisionCode"/>
		</td>
		<td class="col_value" nowrap>
			<html:text useExtensions="true" uiType="combobox" name="deptMaintenanceForm" property="hdrDivisionCode" styleClass="textbox1" readonly="<%=formReadOnly%>" showCode="false"/>
		</td>
	<tr>
	<%--
	</tr>
		<td class="col_label">
			<html:text useExtensions="true" uiType="label" name="deptMaintenanceForm" property="hdrOutlet"/>
		</td>
		<td class="col_value" nowrap>
			<html:text useExtensions="true" uiType="combobox" name="deptMaintenanceForm" property="hdrOutlet" styleClass="textbox1" readonly="<%=formReadOnly%>" showCode="false"/>
		</td>
	</tr>
	<tr>
		<td class="col_label">
			<html:text useExtensions="true" uiType="label" name="deptMaintenanceForm" property="hdrIsUs"/>
		</td>
		<td class="col_value" nowrap>
			<html:text useExtensions="true" uiType="combobox" name="deptMaintenanceForm" property="hdrIsUs" styleClass="textbox1" readonly="<%=formReadOnly%>" showCode="false"/>
		</td>
	<tr>
	</tr>
		<td class="col_label">
			<html:text useExtensions="true" uiType="label" name="deptMaintenanceForm" property="hdrIsMerchandisingDepartment"/>
		</td>
		<td class="col_value" nowrap>
			<html:text useExtensions="true" uiType="combobox" name="deptMaintenanceForm" property="hdrIsMerchandisingDepartment" styleClass="textbox1" readonly="<%=formReadOnly%>" showCode="false"/>
		</td>
	</tr>	
	--%>	
</table>

